<!DOCTYPE html>
<!-- 
Template Name: Cool Town
Version: 1.0.0
Author: Webstrot

-->
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="zxx">
<!--[endif]-->

<head>
	<meta charset="utf-8" />
	<title>Cool Town</title>
	<meta content="width=device-width, initial-scale=1.0" name="viewport" />
	<meta name="description" content="Cool Town" />
	<meta name="keywords" content="Cool Town" />
	<meta name="author" content="" />
	<meta name="MobileOptimized" content="320" />
	<!--Template style -->
	<link rel="stylesheet" type="text/css" href="css/animate.css" />
	<link rel="stylesheet" href="https://www.jq22.com/jquery/bootstrap-4.2.1.css">
	<link rel="stylesheet" type="text/css" href="css/fonts.css" />
	<link rel="stylesheet" type="text/css" href="css/flaticon.css" />
	<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css">
	<link rel="stylesheet" type="text/css" href="css/fullpage.min.css" />
	<link rel="stylesheet" type="text/css" href="css/demo.css" />
	<link rel="stylesheet" type="text/css" href="css/owl.carousel.css" />
	<link rel="stylesheet" type="text/css" href="css/owl.theme.default.css" />
	<link rel="stylesheet" type="text/css" href="css/magnific-popup.css" />
	<link rel="stylesheet" type="text/css" href="css/style.css" />
	<link rel="stylesheet" type="text/css" href="css/responsive.css" />
	<!--favicon-->
	<link rel="shortcut icon" type="image/png" href="images/favicon.png" />
</head>

<body class="demo-3">
	<!-- preloader Start -->
	<div id="preloader">
		<div id="status">
			<img src="images/loader.gif" id="preloader_image" alt="loader">
		</div>
	</div>
	<!-- ck header wrapper Start -->
	<div class="ck_navigation_main_wrapper ck_navigation_inner_main_wrapper float_left">
		<div class="container-fluid">
			<div class="ck_logo_wrapper ck_logo_wrapper_inner">
				<a href="#">
					<img src="images/logo.png" alt="logo">
				</a>
			</div>
			<div class="ck_navigation_right_wrapper">
				<div class="main main--demo-3">
					<div class="content content--demo-3">
						<div class="hamburger hamburger--demo-3 js-hover hamburger_inner">
							<div class="hamburger__line hamburger__line--01">
								<div class="hamburger__line-in hamburger__line-in--01"></div>
							</div>
							<div class="hamburger__line hamburger__line--02">
								<div class="hamburger__line-in hamburger__line-in--02"></div>
							</div>
							<div class="hamburger__line hamburger__line--03">
								<div class="hamburger__line-in hamburger__line-in--03"></div>
							</div>
							<div class="hamburger__line hamburger__line--cross01">
								<div class="hamburger__line-in hamburger__line-in--cross01"></div>
							</div>
							<div class="hamburger__line hamburger__line--cross02">
								<div class="hamburger__line-in hamburger__line-in--cross02"></div>
							</div>
						</div>
						<div class="global-menu">
							<div class="global-menu__wrap" id='cssmenu'>
								<ul>
									<li class="has-sub"><a class="global-menu__item global-menu__item--demo-3" href="#">主页</a>
										<ul>
											<li><a href="index_II.html" class="global-menu__item global-menu__item--demo-3">主页详情</a>
											</li>
										</ul>
									</li>
									<li class="has-sub"><a class="global-menu__item global-menu__item--demo-3" href="#">产品</a>
										<ul>
											<li><a href="product_sidebar.html" class="global-menu__item global-menu__item--demo-3">产品向右</a>
											</li>
										</ul>
									</li>
									<li><a class="global-menu__item global-menu__item--demo-3" href="gallery.html">画廊</a>
									</li>
									<li class="has-sub"><a class="global-menu__item global-menu__item--demo-3" href="#">分页</a>
										<ul>
											<li><a href="cart.html" class="global-menu__item global-menu__item--demo-3">购物车</a>
											</li>
										</ul>
									</li>
									<li class="has-sub"><a class="global-menu__item global-menu__item--demo-3" href="#">博客</a>
										<ul>
											<li><a href="blog_single_right.html" class="global-menu__item global-menu__item--demo-3">博客详情</a>
											</li>
										</ul>
									</li>
								</ul>
							</div>
						</div>
						<svg class="shape-overlays" viewBox="0 0 100 100" preserveAspectRatio="none">
							<path class="shape-overlays__path" d="M 0 100 C 50 100 50 100 100 100 V 100 H 0"></path>
							<path class="shape-overlays__path" d="M 0 100 C 50 100 50 100 100 100 V 100 H 0"></path>
							<path class="shape-overlays__path" d="M 0 100 C 50 100 50 100 100 100 V 100 H 0"></path>
						</svg>
					</div>
				</div>
				<div class="ck_login_btn">	<a href="#" data-toggle="modal" data-target="#myModal"></a>
				</div>
				<div class="buss_cart_section_wrapper">
					<div class="buzz_cart">
						<ul>
							<li class="buzz_cart_dropdown"><a href="#"></a>
								<ul>
									<li>
										<div class="cc_cart_wrapper1 menu-button float_left">
											<div class="cc_cart_img_wrapper">
												<img src="images/ft1.jpg" alt="cart_img" />
											</div>
											<div class="cc_cart_cont_wrapper">
												<h4><a href="#">product name</a></h4>
												<p>Quantity : 2 × $45</p>
												<h5>$90</h5>
												<button type="button" class="close" data-dismiss="modal">&times;</button>
											</div>
										</div>
									</li>
									<li>
										<div class="cc_cart_wrapper1 menu-button float_left">
											<div class="cc_cart_img_wrapper">
												<img src="images/ft2.jpg" alt="cart_img" />
											</div>
											<div class="cc_cart_cont_wrapper">
												<h4><a href="#">product name</a></h4>
												<p>Quantity : 2 × $45</p>
												<h5>$90</h5>
												<button type="button" class="close" data-dismiss="modal">&times;</button>
											</div>
										</div>
									</li>
									<li>
										<div class="cc_cart_wrapper1 menu-button float_left">
											<div class="cc_cart_img_wrapper">
												<img src="images/ft3.jpg" alt="cart_img" />
											</div>
											<div class="cc_cart_cont_wrapper">
												<h4><a href="#">product name</a></h4>
												<p>Quantity : 2 × $45</p>
												<h5>$90</h5>
												<button type="button" class="close" data-dismiss="modal">&times;</button>
											</div>
										</div>
									</li>
									<li>
										<div class="buzz_cart_btn"> <a href="checout.html">checkout</a>
										</div>
									</li>
								</ul>
							</li>
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!-- ck navigation wrapper End -->
	<!-- ck title wrapper -->
	<div class="ck_title_main_wrapper float_left">
		<div class="container">
			<div class="row">
				<div class="col-xl-6 col-lg-6 col-md-6 col-sm-6 col-12">
					<div class="ck_title_cont float_left">
						<p>注册</p>
					</div>
				</div>
				<div class="col-xl-6 col-lg-6 col-md-6 col-sm-6 col-12">
					<div class="ck_title_cont float_left">
						<ul>
							<li><a href="index_II.html">主页 &nbsp; ></a>
							</li>
							<li>个人信息</li>
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!-- ck title wrapper End -->
	<!--CheckOut Page-->
	<div class="checkout-page">
		<div class="container">
			<!--Checkout Details-->
			<div class="checkout-form">
				<div class="row clearfix">
					<!--Column-->
					<div class="column col-lg-6 col-md-6 col-sm-12 col-xs-12">
						<div class="btc_shop_single_prod_right_section related_pdt_shop_head checkout_heading">
							<h1>个人信息 </h1>
						</div>
						<div class="row clearfix">
							<!--Form Group-->
							<div class="form-group col-md-6 col-sm-6 col-xs-12">
								<div class="field-label" >姓名
								</div>
								<input id="setName" type="text" name="field-name" value="" placeholder="">
							</div>
							<!--Form Group-->
							<div class="form-group col-md-6 col-sm-6 col-xs-12">
								<div class="field-label" >电子邮箱</div>
								<input id="setEmail" type="text" name="field-name" value="" placeholder="">
							</div>
							<!--Form Group-->
							<div class="form-group col-md-6 col-sm-6 col-xs-12">
								<div class="field-label" >电话</div>
								<input id="setPhone" type="text" name="field-name" value="" placeholder="输入电话信息">
							</div>
							<!--Form Group-->
							<div class="form-group col-md-12 col-sm-12 col-xs-12">
								<div class="field-label">国家</div>
								<select id="setCountry">
									<option>中国</option>
									<option>India</option>
									<option>Australia</option>
									<option>Usa</option>
								</select>
							</div>
							<!--Form Group-->
							<div class="form-group col-md-12 col-sm-12 col-xs-12">
								<div class="field-label" >地址</div>
								<input id="setAddress" type="text" name="field-name" value="" placeholder="Street address">
							</div>
						</div>
					</div>
					<!--Column-->
					<div class="column col-md-6 col-sm-12 col-xs-12 checkout_form_2_wrapper">
						<div class="btc_shop_single_prod_right_section related_pdt_shop_head checkout_heading">
							<h1>通过此方式找回密码 </h1>
						</div>
						<div class="row clearfix">
							<!--Form Group-->
							<div class="form-group col-md-6 col-sm-6 col-xs-12">
								<div class="field-label">可用电话找回你的密码 <sup>*</sup>
								</div>
								<h1 id="change#1" style="border:5px solid red">就是注册时的电话</h1>
							</div>
							<!--Form Group-->
							<div class="form-group col-md-6 col-sm-6 col-xs-12">
								<div class="field-label">或者是我们发放的信息码</div>
								<h1 id="change32" style="border:5px solid red">####</h1>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<input  class="ck_title_main_wrapper float_left" style="color: yellow;font-size: 50px;" type="button" onclick="storeUser()" value="保存"/>
	<script src="https://www.jq22.com/jquery/jquery-1.10.2.js"></script>
	<script src="js/bootstrap.min.js"></script>
	<script src="js/modernizr.js"></script>
	<script src="js/fullpage.min.js"></script>
	<script src="js/scrolloverflow.js"></script>
	<script src="js/demo3.js"></script>
	<script src="js/easings.js"></script>
	<script src="js/jquery.inview.min.js"></script>
	<script src="js/jquery.countTo.js"></script>
	<script src="js/owl.carousel.js"></script>
	<script src="js/jquery.magnific-popup.js"></script>
	<script src="js/custom.js"></script>
	<!-- custom js-->
<script>
	function storeUser(){
		var param={"username":$("#setName").val(),
					"email":$("#setEmail").val(),
					"mobile":$("#setPhone").val(),
					"site":$("#setAddress").val(),
					"country":$("#setCountry").val(),
					"yzm":$("#change32").html()
		};
		console.log(param);
		$.post("/iceuser/storeUser",param,function (result) {
			var msg=result.message;
			alert(msg);
		})
	}
	$(function () {
		$.get("/iceuser/UpdateUser",function (result) {
			$("#setName").val(result);  //名字
			var name1=$("#setName").val();
			var param={username:name1};
			$.get("/iceuser/display",param,function (result) {
				$("#setEmail").val(result.data[0].email); //email
				$("#setPhone").val(result.data[0].mobile);  //phont
				$("#setAddress").val(result.data[0].site);  //地址
				$("#setCountry").val(result.data[0].country);  //国家
				$("#change32").html(result.data[0].yzm);

			})
		})
	})

</script>
</body>

</html>